package com.yu.gulimall.product.dao;

import com.yu.common.constant.ProductConstant;
import com.yu.gulimall.product.entity.SpuInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * spu信息
 * 
 * @author yu
 * @email yu@gmail.com
 * @date 2024-02-27 14:44:07
 */
@Mapper
public interface SpuInfoDao extends BaseMapper<SpuInfoEntity> {

    void upStatus(@Param("spuId") Long spuId, @Param("code") ProductConstant.ProductStatusEnum productStatusEnum);
}
